package com.codi.bus.core.dao.impl;

import com.codi.base.dao.v2.GeneratedBaseDaoImpl;
import com.codi.bus.core.dao.CityNameDao;
import com.codi.bus.core.domain.CityName;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by asus on 2018/2/27.
 */
@Repository("cityNameDao")
public class CityNameDaoImpl extends GeneratedBaseDaoImpl<CityName> implements CityNameDao {
    @Override
    public List<CityName> selectByProvince(String ProvinceName) {
        List<CityName> cityNames = this.findList(this.generateStatement("selectByProvince"),ProvinceName);
        return cityNames;
    }
}
